home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbprrow.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                  dbprrow
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  dbprrow
  6.  
  7.   FUNCTION:
  8.        Print all the rows returned from SQL Server.
  9.  
  10.   SYNTAX:
  11.        extern int DbColwidth;
  12.  
  13.        RETCODE dbprrow(dbproc)
  14.  
  15.        DBPROCESS *dbproc;
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   dbprrow                 Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.   COMMENTS:
  28.  
  29.        o This routine displays, on the default output device  and  in  a
  30.          default format, the rows for a set of query results.  This rou-
  31.          tine reads and prints all the rows.  It saves  the  trouble  of
  32.          calling  routines  such  as  dbbind()  and  dbnextrow(), but it
  33.          prints only in a single, predetermined format.
  34.        o The application can call  dbprrow()  once  dbresults()  returns
  35.          SUCCEED.
  36.  
  37.        o When using this routine, you do not need to call dbnextrow() to
  38.          loop through the rows.
  39.        o dbprrow() is useful primarily for debugging.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                  dbprrow
  47.   ______________________________________________________________________
  48.  
  49.   PARAMETERS:
  50.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  51.            connection for a particular front-end/SQL Server process.  It
  52.            contains all the information that DB-Library uses  to  manage
  53.            communications and data between the front end and SQL Server.
  54.        DbColwidth -  A global variable that dbprrow() uses to  calculate
  55.            the  width  of  each output line.  It is initialized to 80 by
  56.            DB-Library.
  57.  
  58.   RETURNS:
  59.        SUCCEED or FAIL.
  60.  
  61.   SEE ALSO:
  62.        dbbind, dbnextrow, dbprhead, dbresults
  63.  
  64.  
  65.  
  66.  
  67.